//package com.zhuiyi.yiqingbackend.controller;
//
//import com.zhuiyi.yiqingbackend.domain.DbEntity;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("/db")
//public class DbController {
////    注入
////    @Resource(type = UserService.class)
//    @Autowired
//    private DbEntity dbEntity;
//
//    @RequestMapping("/getdb")
//    public DbEntity getDbEntity(){
//        return dbEntity;
//    }
//}
